﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNhaThuoc.MyClass
{
    class SearchYearEqualVisitor:ISearchVisitor
    {
        public string Visit(SearchStrategy strategy)
        {
            string expr = "year(" + strategy.Field + ") = " + strategy.Value;
            return expr;
        }
    }
}
